FROM openjdk:8-jre-slim

WORKDIR /app

# 添加应用JAR包
COPY target/order-service-0.0.1-SNAPSHOT.jar app.jar

# 暴露端口
EXPOSE 8081

# 启动命令
ENTRYPOINT ["java", "-jar", "app.jar"]
